public class Student {
    String stuId;
    String name;
    String password;

    public Student(String id,String n,String p){
        stuId = id;
        name = n;
        password = p;
    }

    public void showInfo(){
        System.out.println("学号：" + stuId + "姓名：" + name);
    }
}
